<?php
declare(strict_types=1);
// 邀请好友
namespace app\tjy_v1\controller;
class Share
{
    // 邀请好友
    public function Share()
    {
        $apidb = [
            'code' => 200,
            'time' => time(),
            'cache' => cache("我是谁"),
            'msg' => "邀请好友",
            "db" => [
                "total" => 2,
                "list" => [
                    [
                        "id" => 1,
                        "label" => "ssssssadwsss",
                        "code" => "新年专享",
                    ],
                    [
                        "id" => 187,
                        "label" => "153902814624227330",
                        "code" => "新年专s享",
                    ]
                ]
            ]
        ];
        return json($apidb);
    }
}
